package com.pattern.bridge.no;

import com.pattern.bridge.Cup;
import com.pattern.bridge.CupMaker;

public abstract class AbstractCupMaker implements CupMaker {

	@Override
	public Cup makeCup() {
		Cup cup = new Cup(prepareMaterial(), cupSize());
		paint(cup);
		return cup;
	}

	protected abstract void paint(Cup cup);

	protected abstract String cupSize();

	protected abstract String prepareMaterial();

}
